package com.community.entity;

import java.util.Date;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * (Lamp)表实体类
 *
 * @author makejava
 * @since 2021-12-06 09:53:39
 */
@SuppressWarnings("serial")
public class Lamp extends Model<Lamp> {
    
    private Integer id;
    //灯控名称
    private String lampName;
    //端口数量
    private Integer lampCount;
    //设备状态 1：在线 2：离线
    private Integer lampState;
    //创建人
    private Integer createId;
    //创建时间
    private Date createDate;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getLampName() {
        return lampName;
    }

    public void setLampName(String lampName) {
        this.lampName = lampName;
    }

    public Integer getLampCount() {
        return lampCount;
    }

    public void setLampCount(Integer lampCount) {
        this.lampCount = lampCount;
    }

    public Integer getLampState() {
        return lampState;
    }

    public void setLampState(Integer lampState) {
        this.lampState = lampState;
    }

    public Integer getCreateId() {
        return createId;
    }

    public void setCreateId(Integer createId) {
        this.createId = createId;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    /**
     * 获取主键值
     *
     * @return 主键值
     */
    @Override
    protected Serializable pkVal() {
        return this.id;
    }
    }

